package com.wm.exam.service.impl;

import com.wm.exam.dao.PaperVoMapper;
import com.wm.exam.service.PaperVoService;
import com.wm.exam.vo.PaperVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PaperVoServiceImpl implements PaperVoService {
    @Autowired
    private PaperVoMapper paperVoMapper;

    /**
     * 查询考试内容
     * @param major
     * @return
     */
    @Override
    public PaperVo getByMajor(String major) {
        return paperVoMapper.getByMajor(major);
    }
}
